<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" href="/css/nav.css">
    <link rel="stylesheet" href="/css/account.css">
    <script src="/js/login.js"></script>
</head>
<body>
<nav>
    <div>
        <a href="/">万物商城</a>
    </div>
</nav>
<div class="frame">
    <div>
        <form action="/login" method="post" id="form">
            <h1>登录账户</h1>
            用户名<input type="text" placeholder="请输入用户名" name="username">
            密码<input type="password" placeholder="请输入密码" name="password">
            验证码 <span><input type="text" placeholder="请输入验证码" name="capture"><img src="/check"></span>
            <br>
            <input type="submit" value="登录" onclick="check()">
            <input type="button" value="注册账户" onclick="goToRegister()">
        </form>
    </div>
</div>
</body>
</html>